package com.wavehi.mapper.impl;

import com.wavehi.mapper.PersonMapper;
import com.wavehi.pojo.Person;
import org.springframework.stereotype.Repository;

/**
 * @Author WaveHi
 * @Date 24/10/2021 下午 1:21
 * @Version 1.0
 * @Contact HJBWaveHi@163.com
 * @Description
 */
@Repository
public class PersonMapperImpl implements PersonMapper {
    @Override
    public Boolean update(Person person) {
        return true;
    }

    @Override
    public Person selectById(Long id) {
        return new Person(1L,"Tom");
    }
}
